﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fei.OopTest
{
    internal class Basic1
    {
        /// <summary>
        ///  常用的类型有数字类型、字符类型、字符串类型、布尔类型
        ///  使用Console.log
        /// </summary>
        public void test1()
        {
            int intTag1 = 1;
            Int16 intTag2 = 2;
            Int32 intTag3 = 12;
            Int64 intTag4 = 13;
            uint intTag5 = 14;
            float intTag6 = 15.0f;
            double intTag7 = 12.11;
            bool flag = false;
            // 格式化输出的三种方式
            Console.WriteLine("intTag1={0}", intTag1);
            Console.WriteLine($"intTag2={intTag2},intTag3={intTag3}");
            Console.WriteLine("intTag4=" + intTag4 + "intTag5=" + intTag5);
        }
    }
}
